<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<css file="__STATIC__/hdjs/hdjs.css"/>
	<js file="__STATIC__/hdjs/hdjs.min.js"/>
</head>
<body>
	<div class="hd-menu-list">
	    <ul>
	        <li ><a href="{|U:'category/index'}">栏目列表</a></li>
	        <li class="active"><a href="#">添加栏目</a></li>
	        <li><a href="#">更新栏目缓存</a></li>
	    </ul>
	</div>
			<!-- <td>排序</td>
	        <td>CID</td>
	        <td>栏目名</td>
	        <td>显示</td>
	        <td>列表静态</td>
	        <td>文章静态</td>
	        <td>操作</td> -->
	<form action="" method="post">
		<table class="hd-table hd-table-form hd-form">
		    <thead>
		    <tr>
		        <td colspan="2">添加栏目</td>
		    </tr>
		    </thead>
		    <tbody>
		    <tr>
		        <th>栏目名称</th>
		        <td>
		            <input type="text" name="cname">
		        </td>
		    </tr>
		    <tr>
		        <th width="100">所属栏目</th>
		        <td>
		            <select name="pid">
		                <option value="0">顶级栏目</option>
		                <foreach from="$category" key="$k" value="$v">
 							<option <if value="$v['cid']==$hd.get.cid">selected=""</if>value="{$v['cid']}">{$v['_name']}</option>
		                </foreach>
		            </select>
		        </td>
		    </tr>
		    <tr>
		        <th>描述</th>
		        <td>
		            <input type="text" name="desc">
		        </td>
		    </tr>
		     <tr>
		        <th>关键词</th>
		        <td>
		            <input type="text" name="keyword">
		        </td>
		    </tr>
		    <tr>
		        <th>静态目录</th>
		        <td>
		            <input type="text" name="htmldir">
		        </td>
		    </tr>
		    <tr>
		        <th>显示</th>
		        <td>
		            <label><input type="radio" checked="" name="is_show" value="1"> 显示</label>
		            <label><input type="radio" name="is_show" value="0"> 隐藏</label>
		        </td>
		    </tr>
		    <tr>
		        <th>栏目静态</th>
		        <td>
		            <label><input type="radio" checked="" name="is_listhtml" value="1"> 显示</label>
		            <label><input type="radio" name="is_listhtml" value="0"> 隐藏</label>
		        </td>
		    </tr>
		    <tr>
		        <th>文章静态</th>
		        <td>
		            <label><input type="radio" checked="" name="is_archtml" value="1"> 显示</label>
		            <label><input type="radio" name="is_archtml" value="0"> 隐藏</label>
		        </td>
		    </tr>
		    <tr>
		    	<th></th>
		    	<td><input type="submit" value="保存" class="hd-btn hd-btn-primary"></td>
		    </tr>
		    </tbody>
		</table>
	</form>
</body>
</html>